package com.zhentao.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName sys_recard
 */
@TableName(value ="sys_recard")
@Data
public class SysRecard implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer uid;

    /**
     * 套餐id
     */
    private Integer pid;

    /**
     * 换电卡id
     */
    private Integer cid;

    /**
     * 支付价格 总金额-优惠卷的金额
     */
    private Double money;

    /**
     * 优惠卷id
     */
    private Integer preferentialId;

    /**
     * 创建时间
     */
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}